import './index.scss'
// import ZDragInput from "@/plugins/z-dragxml/components/ZDragInput.vue";
import ZDragInput from "@/plugins/z-dragxml/components/ZDragInput.js";
import ZDragTextarea from "@/plugins/z-dragxml/components/ZDragTextarea.vue";
import ZDragRadio from "@/plugins/z-dragxml/components/ZDragRadio.vue";
import ZDragCheckbox from "@/plugins/z-dragxml/components/ZDragCheckbox.vue";
import ZDragInputNumber from "@/plugins/z-dragxml/components/ZDragInputNumber.vue";
import ZDragSelect from "@/plugins/z-dragxml/components/ZDragSelect.vue";
import ZDragDateTimePicker from "@/plugins/z-dragxml/components/ZDragDateTimePicker.vue";
import ZDragSlider from "@/plugins/z-dragxml/components/ZDragSlider.vue";
import ZDragTimePicker from "@/plugins/z-dragxml/components/ZDragTimePicker.vue";
import ZDragCascader from "@/plugins/z-dragxml/components/ZDragCascader.vue";
import ZDragRate from "@/plugins/z-dragxml/components/ZDragRate.vue";
import ZDragRichText from "@/plugins/z-dragxml/components/ZDragRichText.vue";
import ZDragUpload from "@/plugins/z-dragxml/components/ZDragUpload.vue";
// import ZDragAddress from "@/plugins/z-dragxml/components/ZDragAddress.vue";
import ZDragImgUpload from "@/plugins/z-dragxml/components/ZDragImgUpload.vue";
import ZDragRichEditor from "@/plugins/z-dragxml/components/ZDragRichEditor";
import ZDragLoop from "@/plugins/z-dragxml/components/ZDragLoop.vue";

export function install(app) {
  CustomVueComponent.app = app
  CustomVueComponent.register(ZDragTextarea)
  CustomVueComponent.register(ZDragRadio)
  CustomVueComponent.register(ZDragRate)
  CustomVueComponent.register(ZDragSlider)
  CustomVueComponent.register(ZDragTimePicker)
  CustomVueComponent.register(ZDragDateTimePicker)
  CustomVueComponent.register(ZDragCheckbox)
  // CustomVueComponent.register(ZDragAddress)
  CustomVueComponent.register(ZDragUpload)
  CustomVueComponent.register(ZDragRichEditor)
  CustomVueComponent.register(ZDragLoop)
  CustomVueComponent.register(ZDragRichText)
  CustomVueComponent.register(ZDragImgUpload)
  CustomVueComponent.register(ZDragInputNumber)
  CustomVueComponent.register(ZDragCascader)
  CustomVueComponent.register(ZDragSelect)
  CustomVueComponent.register(ZDragInput)
}
